package iso
{
	import com.fminutes.vinciIsometric.core.IsoConst.IsoType;
	import com.fminutes.vinciIsometric.core.IsoObject;
	
	import utils.Cube;
	
	public class WallIsoObject extends IsoObject
	{
		public function WallIsoObject(floorWidth:Number, floorHeight:Number)
		{
			super(floorWidth, floorHeight);
			canPlaced = false;
			isContainer = false;
			this.walkable = 0;
			this.type = IsoType.STATIONARY;
		}
		
		public static function produceDefaultWall():WallIsoObject
		{
			return new WallIsoObject(Main.ISO_WORLD_SIZE, Main.ISO_WORLD_SIZE);
		}
		
		public static function produceRandomCubeWall():WallIsoObject
		{
			var wall:WallIsoObject = new WallIsoObject(Main.ISO_WORLD_SIZE, Main.ISO_WORLD_SIZE);
			wall.displayChild = Cube.produceRandomCube();
			return wall;
		}
	}
}